/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao.services;

import java.util.List;
import model.enetities.Account;
import model.enetities.Role;

/**
 *
 * @author Hieu.Nguyen
 */
public interface RoleDAOServices {
    
    public List<Role> getRoles();
    
    public Role getRoleByID(int idRole);
    
    public Role getRoleByName(String nameRole);
    
    public boolean createRole(Role role);
    
    public boolean updateRole(Role role);    

    public boolean deleteRole(int idRole);
}
